package tau.dimes.data;

import java.sql.Types;

public class Column
{	
	private String columnName;
	private int columnType;

	public Column()
	{
		this("");
	}
	
	public Column(String columnName)
	{
		this(columnName, Types.VARCHAR);
	}
	
	public Column(String columnName, int columnType)
	{
		this.columnName = columnName;
		this.columnType = columnType;
	}
	
	/**
	 * @param columnName the columnName to set
	 */
	public void setColumnName(String columnName)
	{
		this.columnName = columnName;
	}
	
	/**
	 * @return the columnName
	 */
	public String getColumnName()
	{
		return columnName;
	}

	/**
	 * @param columnType the columnType to set
	 */
	public void setColumnType(int columnType)
	{
		this.columnType = columnType;
	}

	/**
	 * @return the columnType
	 */
	public int getColumnType()
	{
		return columnType;
	}
}
